package com.crx.springbootinit.model.dto.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户端分页查询评论列表DTO")
public class CommentPostIdPageDTO {
    @ApiModelProperty(value = "帖子Id")
    private Long postId;

    @ApiModelProperty("页码")
    private Integer pageNo=1;

    @ApiModelProperty("页面大小")
    private Integer pageSize=5;

    public CommentPostIdPageDTO(Long postId) {
        this.postId = postId;
    }
}
